<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%  String backUrl= request.getParameter("backUrl");
  String appCode= request.getParameter("appCode");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Login</title>
<script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>  
<script>
jQuery(function($) {
	$("#_loginButton").click(function() {
		/* 	if($('#_loginForm').validate()){

				if($('#_rememberMe:checked').length > 0){
					$.cookie('_account', $("#_account").val());
				} 
				else{
					$.removeCookie('_account');
				}

				$('#_loginForm').submit();
			} */
			$('#_loginForm').submit();
		});
});


</script>
</head>
<body>
<div class="div1">
	<div class="div2">
			<div style="text-align: center; margin-top: 70px;">
<%-- 				<c:if test="${!empty error}">
					<font color="red"><c:out value="${error}" /></font>
				</c:if> --%>
				<form class="form1" id="_loginForm" action="/xu-upms-server/login"
					method="post">
					<input id="_account" name="account" type="text"  placeholder="登录名"
																required="true" minlength = '4'/>
					<input id="_password" name="password" type="password" class="form-control form-data" placeholder="密码"
					
					
																required="true" minlength = '6' maxlength = '16'/>
																
					<input type="hidden" name="backUrl" value="${param.backUrl}" />
					<input type="hidden" name="appCode" value="${param.appCode}" />
					<button id="_loginButton" type="button" >
					
					<span class="bigger-110">登录</span>
					</button>
				</form>
			</div>
		</div>     
</div>
<style type="text/css">
html,body{
padding:0;
margin:0;
height:100%;
width:100%;
}
.div1 {
    
	display: inline-block;
	height: 100%;
	width: 100%;
	vertical-align: middle;
 	text-align: center; 
	
}

.div2{

width:400px;
height:220px;
background:hsla(0, 0%, 62%, 0.24);
color:#4c4846;
font-size: 20px;
text-align:center;
display:inline-block;
top: 50%;
 position: relative;
margin-top: -150px;
}
</style>
</body>
</html>